package com.huangwei.model;

import java.util.Date;

public class DriverLicense {
    private Integer driverLicenseId;
    private String lastName;
    private String firstName;
    private Date startTime;
    private Integer useTime;
    private String driverLicenseNumber;
    private DriverLicenseType driverLicenseType;

    @Override
    public String toString() {
        return "DriverLicense{" +
                "driverLicenseId=" + driverLicenseId +
                ", lastName='" + lastName + '\'' +
                ", firstName='" + firstName + '\'' +
                ", startTime=" + startTime +
                ", useTime=" + useTime +
                ", driverLicenseNumber='" + driverLicenseNumber + '\'' +
                ", driverLicenseType=" + driverLicenseType +
                '}';
    }

    public DriverLicense(Integer driverLicenseId, String lastName,
                         String firstName, Date startTime,
                         Integer useTime, String driverLicenseNumber,
                         DriverLicenseType driverLicenseType) {
        this.driverLicenseId = driverLicenseId;
        this.lastName = lastName;
        this.firstName = firstName;
        this.startTime = startTime;
        this.useTime = useTime;
        this.driverLicenseNumber = driverLicenseNumber;
        this.driverLicenseType = driverLicenseType;
    }

    public DriverLicense() {
    }

    public Integer getDriverLicenseId() {
        return driverLicenseId;
    }

    public void setDriverLicenseId(Integer driverLicenseId) {
        this.driverLicenseId = driverLicenseId;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Integer getUseTime() {
        return useTime;
    }

    public void setUseTime(Integer useTime) {
        this.useTime = useTime;
    }

    public String getDriverLicenseNumber() {
        return driverLicenseNumber;
    }

    public void setDriverLicenseNumber(String driverLicenseNumber) {
        this.driverLicenseNumber = driverLicenseNumber;
    }

    public DriverLicenseType getDriverLicenseType() {
        return driverLicenseType;
    }

    public void setDriverLicenseType(DriverLicenseType driverLicenseType) {
        this.driverLicenseType = driverLicenseType;
    }
}
